Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var e = require("../@babel/runtime/helpers/classCallCheck"), r = require("../@babel/runtime/helpers/createClass"), t = require("../@babel/runtime/helpers/inherits"), i = require("../@babel/runtime/helpers/createSuper"), u = function(u) {
    t(a, u);
    var s = i(a);
    function a() {
        return e(this, a), s.apply(this, arguments);
    }
    return r(a, [ {
        key: "wishList",
        value: function(e) {
            var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 20;
            return this.request({
                url: "/ums/member/availableWishListByMemberId",
                data: {
                    pageNum: e,
                    pageSize: r
                },
                method: "post"
            });
        }
    }, {
        key: "wishRule",
        value: function() {
            return this.request({
                url: "/ums/member/ruleExplain/availableWishRule"
            });
        }
    }, {
        key: "wishExchangeList",
        value: function() {
            return this.request({
                url: "/ams/wishExchange/wishExchangeList"
            });
        }
    }, {
        key: "wishExchange",
        value: function(e) {
            return this.request({
                url: "/ams/wishExchange/exchangeCard?id=".concat(e),
                method: "post"
            });
        }
    } ]), a;
}(require("./_http").HTTP);

exports.default = u;